<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">

    <body>

        <ui:composition template="./../Layout/Layout.xhtml">

            <ui:define name="top">                
            </ui:define>

            <ui:define name="content">
                <p:outputLabel  value="Educacion" style="font-weight:bold;color: #036fab"  />
                <p:separator/>
                <h:form>
                    <h:panelGrid id="grid" columns="2" cellpadding="2" >
                        <h:outputLabel for="ced" value="Cedula:" style="font-weight:bold" />
                        <p:inputText id="cedu" style="width: 250px;" maxlength="50" required="true" value="00"/>
                        <h:outputLabel for="nomins" value="Nombre Institucion:" style="font-weight:bold" />
                        <p:inputText id="nomins" style="width: 250px;" maxlength="50" required="true" value="asdf" />
                        <p:outputLabel for="pais" value="Pais: " style="font-weight:bold"/>                                   
                        <p:selectOneMenu id="pais" style="width: 180px;" value="#{mBREducacionPri.educacionpri.pais}">
                        <f:selectItem itemLabel="Colombia" itemValue="" />
                        <f:selectItem itemLabel="Ecuador" itemValue="Ecu" />
                        <f:selectItem itemLabel="Brasil" itemValue="Bra" />                    
                        </p:selectOneMenu>
                        <p:outputLabel for="dep" value="Provincia: " style="font-weight:bold"/>                                   
                        <p:selectOneMenu id="dep" style="width: 180px;" value="#{mBREducacionPri.educacionpri.dep}"  >
                        <f:selectItem itemLabel="Nariño" itemValue="" />
                        <f:selectItem itemLabel="Valle del Cauca" itemValue="valleca" />
                        <f:selectItem itemLabel="Antioquia" itemValue="ant" />                    
                        </p:selectOneMenu>
                        <h:outputLabel for="fecfin" value="Fecha Finalizacion:" style="font-weight:bold" />
                        <p:inputText id="fecfin" style="width: 250px;" maxlength="50" required="true" value="sdf" />
                        </h:panelGrid>
                        <p:separator styleClass=""/>     
                        <p:growl id="growl" life="2000" />
                        <h:commandButton value="Registrar Usuario" id="registrar"  action="#{mBREducacionPri.register()}" styleClass="ui-priority-primary" />
                        <p:commandButton value="Cancelar Usuario" id="cancelar" update="growl"  styleClass="ui-priority-primary" icon="ui-icon-closethick"/>
                    </h:form>                                
            </ui:define>
        </ui:composition>
    </body>
</html>
